//
// Created by tianq on 24-12-10.
//
#include <iostream>
#include <random>
using namespace std;

int main() {
    constexpr int m = 3, n = 4, p = 5; // x,y,z of cuboid

    random_device rd;
    mt19937_64 rng(rd());
    uniform_int_distribution dist(1, 20); // set range for random generator here

    cout << m << " " << n << " " << p << endl;
    // p layers(z), n lines(y), m rows(x)
    for (int z = 0; z < p; z++) {
        for (int y = 0; y < n; y++) {
            for (int x = 0; x < m; x++)
                cout << dist(rng) << "\t";
            cout << endl;
        }
        cout << endl;
    }
}
